//
//  HomeFlowStrictElectionStoreCell.h
//  BaseProject
//
//  Created by 王洋 on 2020/7/13.
//  Copyright © 2020 王洋. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "HomeADItemModel.h"

NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(NSInteger, HomeFlowStrictElectionType) {
    //banner
    HomeFlowStrictElectionType_top,
    //信息
    HomeFlowStrictElectionType_bottom
};

@interface HomeFlowStrictElectionStoreCell : UICollectionViewCell


@property (weak, nonatomic) IBOutlet UICollectionView *collectionview;

@property (weak, nonatomic) IBOutlet UICollectionView *bottomCollectionview;


@property (weak, nonatomic) IBOutlet NSLayoutConstraint *topHeight;


@property (nonatomic, copy) void(^HomeFlowStrictElectionCellBlock)(HomeFlowStrictElectionType type, NSInteger index);

@property (nonatomic, strong) NSMutableArray <HomeADItemEventModel *>*dataArray;

@property (nonatomic, strong) NSMutableArray <HomeADItemEventModel *>*bottomDataArray;


+ (CGFloat)calculateHeight;

- (void)fillCellWithModel:(HomeADItemModel *)model bottomDataArray:(NSMutableArray <HomeADItemEventModel *>*)bottomArray;

@end

NS_ASSUME_NONNULL_END
